package com.lxkpt.mapper;

import com.lxkpt.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    int deleteByPrimaryKey(@Param("userId") Integer userId);

    int insert(@Param("user") User user);

    int insertSelective(@Param("user") User user);

    User selectByPrimaryKey(@Param("userId") Integer userId);

    int updateByPrimaryKeySelective(@Param("user") User user);

    int updateByPrimaryKey(@Param("user") User user);

    List<User> selectUser(@Param("user") User user);

    List<User> searchUser(@Param("user") User user);

}